#ifndef _DIRLIGHT_H_
#define _DIRLIGHT_H_

#include"Light.h"

class DirectionalLight : public Light
{
public:

	DirectionalLight();
	~DirectionalLight();

	void	Update();
	void	Render();

	inline void		SetDirection( GLfloat x, GLfloat y, GLfloat z )
	{
		m_direction[0] = x;
		m_direction[1] = y;
		m_direction[2] = z;
		m_direction[3] = 0;
	}

	inline void		SetPower( GLfloat power )
	{
		m_power = power;
	}

	inline GLfloat	GetPower()
	{
		return m_power;
	}

protected:

	GLfloat m_direction[4];
	GLfloat m_power;

};

#endif